﻿using System.Runtime.Serialization;

namespace SMARTMobile.Models.Local
{
    [DataContract]
    public class SqlGroup
    {
        [DataMember]
        public string RecNo { get; set; }

        [DataMember]
        public string Groupkey { get; set; }

        [DataMember]
        public string Groupdes { get; set; }

        [DataMember]
        public string Image { get; set; }

        [DataMember]
        public string isEdite { get; set; }

        [DataMember]
        public string UseType { get; set; }

        [DataMember]
        public int AppStatus { get; set; }

        [DataMember]
        public int Sort { get; set; }

        public override string ToString()
        {
            return string.Format("Key: {0}, Name: {1}, AppStatus: {2}", this.Groupkey, this.Groupdes, this.AppStatus);
        }
    }
}
